package com.ostrich.note.base;

import android.os.Bundle;

import androidx.databinding.ViewDataBinding;
import androidx.lifecycle.ViewModel;


public abstract class BaseMvvmActivity<VDB extends ViewDataBinding,VM extends ViewModel> extends BaseActivity<VDB>{
    protected VM viewModel;
    public abstract void createViewModel();

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        createViewModel();
        super.onCreate(savedInstanceState);

    }
}
